#ifndef STUDENTFACTORY_H_
#define STUDENTFACTORY_H_

#include "StudentImpl.h"
#include "FOH_Student_t.h"
#include "ESF_Student_t.h"

class StudentFactory
{
public:
	static StudentImpl* createStudent(const unsigned int& n, const string& impl)
	{
		StudentImpl* ptr = 0;
		if(impl == "ESF")
			ptr = new ESF_Student_t(n);
		if(impl == "FOH")
			ptr = new FOH_Student_t(n);
		return ptr;
	}
private:
	~StudentFactory(){}
	StudentFactory(){}
};


#endif /* STUDENTFACTORY_H_ */
